package com.wm.blog_common.util;

import com.baomidou.mybatisplus.core.toolkit.IdWorker;

/***
 * @ClassName: IdUtil
 * @Description: id生成工具类
 * @Author: wm_yu
 * @Create_time: 10:14 2020-3-28
 */
public class IdUtil {

    private IdUtil(){}

    public static Long getId(){
        return IdWorker.getId();
    }
}
